package com.cloudkinto.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 * @author zhangyy
 * @since 2020-08-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_fba_order_input_package")
public class FbaOrderInputPackageDo extends Model<FbaOrderInputPackageDo> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("fba_order_input_id")
    private Long fbaOrderInputId;

    @TableField("package_lenght")
    private Double packageLenght;

    @TableField("package_width")
    private Double packageWidth;

    @TableField("package_height")
    private Double packageHeight;

    @TableField("package_weight")
    private Double packageWeight;

    @TableField("package_count")
    private Integer packageCount;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
